/* 版心 */
.wrapper {
  margin: 0 auto;
  width: 1200px;
}

/* 头部 */
.header {
  height: 100px;
  background-color: #fff;
}

.header .wrapper {
  /* 设置伸缩盒 */
  display: flex;
  padding-top: 29px;
}

/* LOGO */
.logo a {
  display: block;
  width: 195px;
  height: 41px;
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
  font-size: 0;
}

/* 导航 */
.navigation {
  margin-left: 102px;
}

.navigation>ul {
  /* 设置伸缩盒 */
  display: flex;
}

.navigation>ul li {
  margin-right: 24px;
}

.navigation>ul li>a {
  display: block;
  padding: 6px 8px;
  line-height: 27px;
  font-size: 19px;
}

.navigation>ul li .active,
.navigation>ul li a:hover {
  border-bottom: 2px solid #00a4ff;
}

/* 搜索 */
.search {
  /* 设置伸缩盒 */
  display: flex;
  margin-left: 64px;
  padding: 0 12px 0 19px;
  width: 412px;
  height: 40px;
  border-radius: 20px;
  background-color: #f3f5f7;
}

.search>input {
  /* 份数设置1份 */
  flex: 1;
}

/* 设置提示文字字号和颜色 */
.search>input::placeholder {
  font-size: 14px;
  color: #999;
}

/* magnifier 放大镜 */
.search .magnifier {
  /* 侧轴对齐方式 align-self 单独控制 */
  align-self: center;
  width: 16px;
  height: 16px;
  background-image: url(../images/search.png);
  background-repeat: no-repeat;
}

/* 用户 */
.user {
  margin: 4px 0 0 32px;
}

.user .profilePicture {
  margin-right: 7px;
  /* 图片文字垂直居中 */
  vertical-align: middle;
}

.user .username {
  font-size: 16px;
  color: #666;
}

/* banner */
.banner {
  height: 420px;
  background-color: #0092cb;
}

.banner>.wrapper {
  /* 设置伸缩盒 */
  display: flex;
  /* 设置主轴对齐方式 */
  justify-content: space-between;
  height: 420px;
  background-image: url(../uploads/banner.png);
  background-repeat: no-repeat;
}

/* 侧导航 */
.banner .sideNavigation {
  padding: 3px 20px;
  width: 191px;
  height: 420px;
  /* 背景黑色半透明 */
  background-color: rgba(0, 0, 0, .42);
}

.banner .sideNavigation a {
  /* 转块 */
  display: block;
  height: 46px;
  line-height: 46px;
  font-size: 16px;
  color: #fff;
  background-image: url(../images/right.png);
  background-repeat: no-repeat;
  background-position: right center;
  transition: all .3s;
}

.banner .sideNavigation a:hover {
  color: #00a4ff;
  background-image: url(../images/right-hover.png);
  background-repeat: no-repeat;
  background-position: right center;
}

/* 课程表 */
.banner .schoolTimetable {
  margin-top: 60px;
  width: 218px;
  height: 305px;
  border-radius: 10px;
  background-color: #209dd5;
}

.banner .schoolTimetable .title {
  margin-left: 14px;
  height: 48px;
  line-height: 48px;
  font-size: 15px;
  color: #fff;
}

/* 课程列表 */
.banner .schoolTimetable .courseList {
  padding: 14px;
  height: 257px;
  border-radius: 10px;
  background-color: #fff;
}

.banner .schoolTimetable .courseList dl {
  margin-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.banner .schoolTimetable .courseList .courseName {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
}

.banner .schoolTimetable .courseList .state {
  margin-bottom: 8px;
  font-size: 12px;
}

.banner .schoolTimetable .courseList span {
  color: #00a4ff;
}

.banner .schoolTimetable .courseList .allCourse {
  display: block;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  border-radius: 15px;
  background-color: #00a4ff;
}

/* 精品推荐 */
.recommend {
  /* 设置伸缩盒 */
  display: flex;
  margin-top: 11px;
  padding: 0 20px;
  height: 60px;
  line-height: 60px;
  background-color: #fff;
  box-shadow: 0px 1px 2px 0px rgba(211, 211, 211, .5);
}

/* 标题 */
.recommend .title {
  font-size: 18px;
  color: #00a4ff;
}

/* 列表 */
.recommend .recommendList {
  /* 设置伸缩盒 */
  display: flex;
  flex: 1;
}

/* 间隔竖线 */
.recommend .recommendList a {
  padding: 0 24px;
  font-size: 18px;
  border-right: 1px solid #e0e0e0;
}

/* 最后一个取消间隔竖线 */
.recommend .recommendList li:last-child a {
  border-right: 0;
}

/* 修改兴趣 */
.recommend .modify {
  font-size: 16px;
  color: #00a4ff;
}

/* 精品课程 */
.preCourses {
  margin-top: 15px;
}


.headerTitle {
  display: flex;
  justify-content: space-between;
  height: 60px;
  line-height: 60px;
}

.headerTitle h3 {
  font-size: 21px;
  color: #333;
}

.headerTitle .more {
  padding-right: 20px;
  font-size: 14px;
  color: #999;
  background-image: url(../images/more.png);
  background-repeat: no-repeat;
  background-position: right center;
}

/* 课程卡片 */
.cards ul {
  /* 设置弹性盒 */
  display: flex;
  /* 换行 */
  flex-wrap: wrap;
  /* 设置主轴对齐方式 */
  justify-content: space-between;
}

.cards li {
  margin-bottom: 14px;
  width: 228px;
  height: 271px;
  background-color: #fff;
}

.cards li .pic {
  height: 156px;
}

.cards li .text {
  padding: 20px;
  height: 115px;
  background-color: #fff;
}

.cards li .text .title {
  margin-bottom: 13px;
  height: 40px;
  line-height: 20px;
  font-size: 14px;
}

.cards li .text .state {
  line-height: 20px;
  font-size: 14px;
  color: #999;
}

.cards li .text .state span {
  color: #fa6400;
}

/* 前端开发工程师 */
.headerTitle .headerLabel {
  /* 设置伸缩盒 */
  display: flex;
}

.headerTitle .headerLabel li {
  margin-right: 60px;
  font-size: 16px;
}

.headerTitle .headerLabel li .active {
  color: #00a4ff;
}

/* 卡片 */
.cards {
  /* 设置弹性盒 */
  display: flex;
  /* 设置主轴对齐方式 */
  justify-content: space-between;
}

.cards .adLeft {
  width: 228px;
}

.cards .right {
  width: 957px;
}

.cards .right .adTop {
  margin-bottom: 15px;
  height: 100px;
}

/* 单行课程卡片 */
.oneLine .cards ul {
  width: 100%;
}

/* 底部 */
.footer {
  margin-top: 60px;
  padding-top: 60px;
  height: 273px;
  background-color: #fff;
}

.footer .wrapper {
  /* 设置伸缩盒 */
  display: flex;
  /* 设置主轴对齐方式 */
  justify-content: space-between;
}

.footer .left {
  width: 440px;
}

.footer .left .desc {
  margin: 24px 0 14px 0;
  line-height: 17px;
  font-size: 12px;
  color: #666;
}

.footer .left .download {
  display: block;
  width: 120px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 16px;
  color: #00a4ff;
  border: 1px solid #00a4ff;
}

.footer .right {
  /* 设置伸缩盒 */
  display: flex;
}

.footer .right dl {
  margin-left: 130px;
}

.footer .right dt {
  margin-bottom: 12px;
  line-height: 23px;
  font-size: 16px;
}

.footer .right a {
  line-height: 24px;
  font-size: 14px;
  color: #666;
}